package com.cl.utils;

import java.util.UUID;

public class UuidUtil {
    public static int getUid(){
        UUID uuid = UUID.randomUUID();
        String string = uuid.toString();
        int i = string.hashCode();
        int uid = (i>0?i:-i);
        return uid;
    }
}
